package com.dingreading.cloud.admin.dto.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

import java.io.Serializable;

@Data
@HeadRowHeight(20)
@ContentRowHeight(20)
@ColumnWidth(20)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 11)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class WhStockOutGoodsLogVo implements Serializable {

    @ExcelProperty(value = "出库订单号")
    private String outCode;

    @ExcelProperty(value = "商品订单号")
    private String orderCode;

    @ExcelProperty(value = "入库订单号")
    private String inCode;

    @ExcelProperty(value = "采购订单号")
    private String purchaseCode;

    @ExcelProperty(value = "供应商名称")
    private String supplierName;

    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ExcelProperty(value = "收货人姓名")
    private String name;

    @ExcelProperty(value = "收货人地址")
    private String address;

    @ExcelProperty(value = "商品名称")
    private String goodsName;

    @ExcelProperty(value = "商品规格名称")
    private String goodsTypeName;

    @ExcelProperty(value = "商品规格单位")
    private String unit;

    @ExcelProperty(value = "是否实体货物")
    private String realStatus;

    @ExcelProperty(value = "出库商品数量")
    private Integer num;

    @ExcelProperty(value = "出库/销售单价")
    private Double unitPrice;

    @ExcelProperty(value = "出库/销售金额")
    private Double price;

    @ExcelProperty(value = "加权平均价")
    private Double wetAvgPrice;

    @ExcelProperty(value = "成本金额")
    private Double costPrice;

    @ExcelProperty(value = "出库方式")
    private String stockOutMethod;

    @ExcelProperty(value = "状态名")
    private String statusName;

    @ExcelProperty(value = "创建人姓名")
    private String creator;

    @ExcelProperty(value = "添加时间")
    private String addTime;

    @ExcelProperty(value = "退回人姓名")
    private String refundName;

    @ExcelProperty(value = "退回时间")
    private String refundTime;

    @ExcelProperty(value = "快递公司")
    private String expressName;

    @ExcelProperty(value = "快递单号")
    private String expressCode;

    @ColumnWidth(23)
    @ExcelProperty(value = "快递费用支付类型")
    private String expressPayType;

    @ExcelProperty(value = "快递金额")
    private Double expressPrice;

    @ExcelProperty(value = "发货仓库")
    private String deliveryWarehouseName;
}
